package com.hx.ycy.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.system.ApplicationPidFileWriter;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * Created by hx-pc on 16-12-21.
 */
@SpringBootApplication
@EnableConfigurationProperties
public class Application4ycy {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(Application4ycy.class);
        springApplication.addListeners(new ApplicationPidFileWriter("app.pid"));
        springApplication.run(args);
    }

}
